package com.wl.shop.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.wl.shop.entity.DataEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author wangl
 * @since 2017-05-24
 */
@TableName("cms_category")
public class Category extends DataEntity {

    private static final long serialVersionUID = 1L;

	@TableField("parent_id")
	private String parentId;
	@TableField("parent_ids")
	private String parentIds;
    /**
     * 栏目名称
     */
	private String name;
    /**
     * 排序
     */
	private Integer sort;
    /**
     * 是否显示
     */
	@TableField("is_show")
	private Boolean isShow;
    /**
     * 英文名称
     */
	@TableField("en_name")
	private String enName;
    /**
     * 栏目模型:1.普通文章,2.封面频道,3.外部链接
     */
	private String model;
    /**
     * 栏目英文名称相对路径
     */
	private String path;
    /**
     * 列表页模板
     */
	@TableField("list_template")
	private String listTemplate;
    /**
     * 内容页模板
     */
	@TableField("content_template")
	private String contentTemplate;
    /**
     * 栏目链接地址
     */
	@TableField("list_url")
	private String listUrl;
    /**
     * 打开方式
     */
	private String target;
    /**
     * SEO标题
     */
	@TableField("seo_title")
	private String seoTitle;
    /**
     * SEO关键字
     */
	private String keywords;
    /**
     * SEO描述
     */
	private String description;
    /**
     * 栏目内容,通常用于企业简介之类的单页
     */
	private String content;
	
	@TableField("publish_date")
	private Date publishDate;
	
	@TableField(exist = false)
	private String parentName;
	
	@TableField(exist = false)
	private String createUserName;
	
	@TableField(exist = false)
	private String listName;
	
	@TableField(exist=false)
	private String contentName;


	public Category() {
		// TODO Auto-generated constructor stub
	}
	
	public Category(String id) {
		// TODO Auto-generated constructor stub
		this.id = id;
	}
	
	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getParentIds() {
		return parentIds;
	}

	public void setParentIds(String parentIds) {
		this.parentIds = parentIds;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public Boolean getIsShow() {
		return isShow;
	}

	public void setIsShow(Boolean isShow) {
		this.isShow = isShow;
	}

	public String getEnName() {
		return enName;
	}

	public void setEnName(String enName) {
		this.enName = enName;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getListTemplate() {
		return listTemplate;
	}

	public void setListTemplate(String listTemplate) {
		this.listTemplate = listTemplate;
	}

	public String getContentTemplate() {
		return contentTemplate;
	}

	public void setContentTemplate(String contentTemplate) {
		this.contentTemplate = contentTemplate;
	}

	public String getListUrl() {
		return listUrl;
	}

	public void setListUrl(String listUrl) {
		this.listUrl = listUrl;
	}

	public String getTarget() {
		return target;
	}

	public void setTarget(String target) {
		this.target = target;
	}

	public String getSeoTitle() {
		return seoTitle;
	}

	public void setSeoTitle(String seoTitle) {
		this.seoTitle = seoTitle;
	}

	public String getKeywords() {
		return keywords;
	}

	public void setKeywords(String keywords) {
		this.keywords = keywords;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	public String getCreateUserName() {
		return createUserName;
	}

	public void setCreateUserName(String createUserName) {
		this.createUserName = createUserName;
	}

	public String getListName() {
		return listName;
	}

	public void setListName(String listName) {
		this.listName = listName;
	}

	public String getContentName() {
		return contentName;
	}

	public void setContentName(String contentName) {
		this.contentName = contentName;
	}

	public Date getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(Date publishDate) {
		this.publishDate = publishDate;
	}
	
	

}
